package com.sendi.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * SysBeanMap entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sys_bean_map")
public class SysBeanMap implements java.io.Serializable {

	// Fields

	private Integer id;
	private String beanName;
	private String beamBsname;
	private String remark;
	private String islog;

	// Constructors

	/** default constructor */
	public SysBeanMap() {
	}

	/** minimal constructor */
	public SysBeanMap(String beanName) {
		this.beanName = beanName;
	}

	/** full constructor */
	public SysBeanMap(String beanName, String beamBsname, String remark,
			String islog) {
		this.beanName = beanName;
		this.beamBsname = beamBsname;
		this.remark = remark;
		this.islog = islog;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "bean_name", nullable = false, length = 200)
	public String getBeanName() {
		return this.beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	@Column(name = "beam_bsname", length = 100)
	public String getBeamBsname() {
		return this.beamBsname;
	}

	public void setBeamBsname(String beamBsname) {
		this.beamBsname = beamBsname;
	}

	@Column(name = "remark", length = 20)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "islog", length = 20)
	public String getIslog() {
		return this.islog;
	}

	public void setIslog(String islog) {
		this.islog = islog;
	}

}